$(function () {
    $.ajax({
        url:'/commissionC/getDetailCommission.json',
        dataType:'json',
        data:{
            token:getItem('token'),
            code:GetQueryString('code'),
        },
        type:'post',
        success:function (data) {
            if(data.code==1){
                var shareData = data.datas;
                for(var i=0;i<shareData.length;i++){
                    $('<p class="detail-box mui-clearfix">\n' +
                        '<span class="detail-left">'+shareData[i].source+'用户：</span>\n' +
                        '<span class="detail-right">'+shareData[i].name+'</span>\n' +
                        '</p>\n' +
                        '<p class="detail-box mui-clearfix">\n' +
                        '<span class="detail-left">'+shareData[i].source+'金额：</span>\n' +
                        '<span class="detail-right">'+shareData[i].money+'</span>\n' +
                        '</p>\n' +
                        '<p class="line"></p>').appendTo('.order-detail-box')
                }
            }
        }
    })
})